<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>机构通告-个人中心-魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('lib')?>uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="js/DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
</head>
<body>
<?php include_once(VIEWPATH."public/header.php");?>
<div class="mainbody" id="mainbody">
    <div class="container mrgB30">
        <div class="member clearfix">
            <?php include_once(VIEWPATH."m/public/left_menu.php");?>
            <div class="fr uc_content">
            	<?php include_once(VIEWPATH."m/public/notice.php");?>

              <div class="clearfix uitopg">
                    <div class="authent">
                        <div class="aut_bti clearfix"><h3 class="fl">机构通告</h3>
                          <a class="fr addto" href="/m/activity/noticeadd"><i></i>发布通告</a>
                        </div>
                        <div class="ne_con ne_con_list">
                            <ul class="clearfix">
                                <?php foreach ($list['rows'] as $key => $a): ?>  
                                <li style="height:287px !important;">
                                    <a class="picimg" href="/m/activity/noticeadd?id=<?=_get_key_val($a['id'])?>">
                                        <img src="<?=_get_image_url($a['img']);?>"/>
                                        <div class="notl_hover">
                                            <p>工作性质：<?php echo $a['category']?><p>
                                            <p><?php if(3 == $a['type']) {echo '制作要求';} else {echo '模特要求';}?>：<?=  str_replace('||', ',', $a['summary'])?></p>
                                            <p>费用预算：<?=$a['workfee']?></p>
                                            <p><?php if (1== $a['type']) {echo '面试时间：'.date("Y-m-d H:i:s",$a["begtime"]);} else {echo '工作日期：'.$a['w_time'];}?></p>
                                            <p><?php if (1 == $a['type']) {echo '面试地点';} else {echo '工作地点';}?>：<?php echo $a['place']?></p>
                                            <p>报名截止： <?=date('Y-m-d',$a['inendtime'])?><em class="fr">点击/<?php echo $a['visitnum']?></em></p>
                                        </div>
                                    </a>
                                    <div class="clearfix">
			                        	<p class="fl nebti" style="width:300px;">
			                        		<span class="act_type"><?=$oSysAct[$a['type']]?>通告</span><span style="cursor:pointer;margin-left:4px;" title="<?=$a['title']?>"><?=_cut_str($a['title'], 8);?></span> 
			                        		<a href="/act/enterlist?aid=<?=$a['id']?>"><em> <?=($a['innumfake']+$a['innum'])?>人 报名</em></a>
			                        	</p>
			                            <a class="fr status XT-act-delete" _val="<?=_get_key_val($a['id']);?>" style="width:50px;" href="javascript:void(0);">删除</a>
			                        </div>
                                    <!-- <div class="clearfix">
                                        <p class="fl nebti nebti_1"> <?=$a['title']?></p>
                                        <p class="fl nebti nebti_2"><em onclick="window.location.href='/m/activity/enterlist?aid=<?=$a['id']?>'"><?=($a['innumfake']+$a['innum'])?>人 报名</em></p>
                                    	<p class="fr"><a href="/m/activity/noticedelete?id=<?=_get_key_val($a['id'])?>">删除</a></p>
                                    </div> -->
                                </li>
                                <?php endforeach;?>
                            </ul>
                        </div>
                        
                    </div>
                </div>
                

            </div>
        </div>
        <div class="help_bottom"></div>
    </div> 
</div>
<!--mainbody-->
<?php include_once(VIEWPATH."public/footer.php");?>

</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.SuperSlide.2.1.1.js"></script>
<script>jQuery(".txtScroll-top").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"topLoop",autoPlay:true});</script>
<script>
$(function(){
	$(".XT-act-delete").click(function(){
		if(confirm("确定要删除吗？"))
		{
			var actid = $(this).attr("_val");
			window.location.href="/m/activity/noticedelete?id="+actid;
		}
	});
})
</script>
</html>